package com.zdxf.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class UserLoginEvent extends ApplicationEvent {

    private String message;
    private String userName;

    public UserLoginEvent(Object source, String message, String userName) {
        super(source);
        this.userName = userName;
        this.message = message;
    }
}
